Skip to content

Conversation

@l1berat0r
Copy link
Contributor

I wonder if it's related to the firmware version, but in my case , commit bf81743
messes things up even more. I found, that what is working for me instead is disabling "enhancedHue" mode for the light color setting.

Do you think this solves the issue in your case as well? If not, can we try to debug things a little and find why there are problems with my devices?

…hancedHue set to false seems to solve the issue.
@Koenkk
Copy link
Owner

Koenkk commented Aug 10, 2025

Let's first check in #9617

@l1berat0r
Copy link
Contributor Author

After reading latest comment to #9617 I tested it one more time and indeed I was able to controll the device. I'm not sure why it didn't work to me before. Maybe I was on some different branch of some other dependency...
The only issue I see now, are the errors appearing in the log, which originate from the tzLocal.led_control function, trying to read unsupported attributes.
I'm new to this project, so I'm sorry if my suggestions are off, but do you think it's good enough or should we aim to clean that up?
The code of the converter, before the commit bf81743 seems much more clean to me and in my case it needed only slight tweaking to start working properly.
On the other hand tzLocal.led_control function is quite complex and making it aware of which attributes are supported by which devices would require some carefull refactoring.

@Koenkk
Copy link
Owner

Koenkk commented Aug 14, 2025

I would keep it as is, it seems this device requires specific Tuya commands.

…velWithOnOff", because of the second command behaving randomly for level values less than 20. Enable "powerOnBehavior" and "effects" for the buld, which seem to be working quite fine.
@l1berat0r l1berat0r force-pushed the fix/CK-BL702-AL-01_1 branch from 12509c6 to 2ae0db3 Compare August 16, 2025 21:45
@l1berat0r
Copy link
Contributor Author

Could you please help me understand what type of speciffic commands could it need? I spent some time trying to tune the setup for my devices and I'm stil at the position that the "modern extend" version works pretty well for me.

I indeed found one issue, with how those bulbs handle "moveToLevelWithOnOff" command". It works fine for the levels higher than 20, but if I set anything lower it can turn off on random (more ofthen than not). Maybe this is also simmilar case as described in another thread?
I created a workaround in my branch (2ae0db3) but I can't tell for sure it won't mess up some other parts of the logic.
Currently I'm more or less sattisfied with this version, because I could also enable "powerOnBehavior", which the bulbs also seem to support. I wonder if the guy for the other thread would like to test this commit and check if it solves the issues he had previously.

@Koenkk Koenkk merged commit 3305d13 into Koenkk:master Aug 18, 2025
3 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Aug 18, 2025

Let's try, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants